package com.sjf.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sjf.reggie.dto.SetmealDto;
import com.sjf.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithDish ( SetmealDto setmealDto );

    Page getList ( Integer page , Integer pageSize , String name );

    void updateStatus ( Integer status , String ids );

    boolean deleteByIds ( String ids );

    SetmealDto getSetmealWithDish ( Long id );

    void editSetmeal ( SetmealDto setmealDto );

    List<Setmeal> getSetmealDishList ( Setmeal setmeal );
}
